<%@ page language="java" contentType="text/html;" pageEncoding="UTF-8"%>
<%@ page import="com.huike.stu.domain.Student" %>
<jsp:useBean id="student" scope="request" class="com.huike.stu.domain.Student"></jsp:useBean>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>查看学生</title>
		<style type="text/css">
			table {
				border: 1px solid black;
				border-collapse: collapse;
				margin: auto;
			}
			td {
				border: 1px solid black;
				text-align: center;
			}
			tr {
				height: 36px;
			}
		</style>
	</head>
	<body>
		
		<form name="stuInfoForm" action="" method="post">
			<table>
				<tr>
					<td width="80px">学号</td>
					<td width="300px">
						<%=student.getNo() %>
					</td>
				</tr>
				<tr>
					<td>姓名</td>
					<td>
						<%=student.getName() %>
					</td>
				</tr>
				<tr>
					<td>性别</td>
					<td>
						<%=student.getSex() %>
					</td>
				</tr>
				<tr>
					<td>年龄</td>
					<td>
						<%=student.getAge() %>
					</td>
				</tr>
				<tr>
					<td>专业</td>
					<td>
						<%=student.getDept() %>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<input type="button" value="返回" onclick="history.back()"/>
					</td>
				</tr>		
			</table>
		</form>
	</body>
</html>